//
//  SearchBarSectionView.m
//  danpin
//
//  Created by Hongyu Zhang on 15/10/23.
//  Copyright © 2015年 chuangjia. All rights reserved.
//

#import "SearchBarSectionView.h"

@implementation SearchBarSectionView


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
    
    
    CGContextRef ctx = UIGraphicsGetCurrentContext();
    CGContextSetRGBStrokeColor(ctx, 0.6, 0.6, 0.6, 0.7);
    
    
    //	CGContextSetLineWidth(ctx, 0.25);
    
    CGContextSetLineWidth(ctx, 0.5);
    
    CGContextMoveToPoint(ctx, 0, self.bounds.size.height);
    
    
    CGContextAddLineToPoint(ctx,self.bounds.size.width, self.bounds.size.height);
    
    
    CGContextStrokePath(ctx);
    
}


@end
